\documentclass{article}

\usepackage{pgfplots}
%\pgfplotsset{lua debug=trace}

\pgfplotsset{compat=1.15}

\begin{document}

\begin{tikzpicture}
	\begin{axis}[min=-5,max=5]
	
	\addplot {x^2};
	\end{axis}
\end{tikzpicture}

\end{document}

